package com.linewell.system.pagemodel;

import java.io.Serializable;
import java.util.List;
/**
 *统一获得部门信息返回树模型 
 */
public class SimpleTreeNode implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -2307906992489888487L;
	private Integer id;
	private Integer pid;
	private String text;
	private List children;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public List getChildren() {
		return children;
	}
	public void setChildren(List children) {
		this.children = children;
	}
	public SimpleTreeNode() {
		super();
		// TODO Auto-generated constructor stub
	}
	public SimpleTreeNode(Integer id, String text) {
		super();
		this.id = id;
		this.text = text;
	}
	public Integer getPid() {
		return pid;
	}
	public void setPid(Integer pid) {
		this.pid = pid;
	}
	
}
